package com.chenyun.common.constants;

/**
 * satoken常量
 * @author: Lonni
 * @date: 2022/8/12 0012 16:06
 */
public class SaTokenConstant {


    /**
     * 生成的token和loginType链接符号
     */
    public static final String TOKEN_LOGIN_TYPE_SPLIT_PREFIX="$";


    public static final String USER_TYPE_KEY = "userType";

    /**
     * 商户登录类型
     */
    public static final String SHOP_LOGIN_TYPE = "shop_login";
    /**
     * 会员登录类型
     */

    public static final String MEMBER_LOGIN_TYPE = "member_login";


    /**
     * 用户登录成功后将token和sessionUser关联的key
     */
    public static  final String TOKEN_SESSION_KEY="sa-token-session:";
    /**
     * 标识当前请求未feign
     * 值为 "true"||"false"
     */
    public static final String FEIGN_CLIENT_KEY="feign-client";

    public static final String FEIGN_UID_KEY="uid";

    public static final String FEIGN_TID_KEY="tid";




}
